<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="../../tag/c.tld"%>
<!DOCTYPE html>
<html lang="en">
<head>

<title>订单详情</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="../css/bootstrap.css" />
<link rel="stylesheet" href="../css/font-awesome.css" />

<link rel="stylesheet" href="../css/jquery-ui.css" />
<link rel="stylesheet" href="../css/datepicker.css" />

<link rel="stylesheet" href="../css/ace-fonts.css" />

<link rel="stylesheet" href="../css/ace.css" />
<!-- ie9 -->
<link rel="stylesheet" href="../css/ace-part2.css" />
<link rel="stylesheet" href="../css/ace-ie.css" />

<script src="../js/jquery.js"></script>
<script src='../js/ace/jquery.mobile.custom.js'></script>
<script src="../js/ace/bootstrap.js"></script>

<script src="../js/ace/ace/ace.js"></script>
<script src="../js/ace/ace/ace.sidebar.js"></script>
</head>
<body class=" no-skin">
	<jsp:include page="../../margin/head.jsp"></jsp:include>
	<div class="main-container" id="main-container">
		<jsp:include page="../../margin/left.jsp"></jsp:include>
		<div class="main-content">
			<!-- 导航菜单 -->
			<div class="breadcrumbs" id="breadcrumbs">
				<ul class="breadcrumb">
					<li><i class="ace-icon fa fa-home home-icon"></i> <a
						href="${pageContext.request.contextPath}/order/list">Home</a></li>
					<li><a href="${pageContext.request.contextPath}/order/list">订单</a></li>
					<li class="active">试压单详情</li>
				</ul>
			</div>
			<div class="row">
				<div class="col-sm-12">
					<div class="widget-box">
						<div class="widget-header">
							<h4>订单详情</h4>
						</div>
						<div class="widget-body">
							<div class="widget-main no-padding">
								<form class="form-horizontal"
									action="/LongShengManager/dealer/saveAdmin" method="post"
									id="sysUserForm">
									<fieldset>
										<input type="hidden" value="${order.oId}" id="rid">
										<div class="form-group">
											<label class="col-sm-4 control-label">订单号：</label> <label
												class="control-label">${order.orderid}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">订单状态：</label> <label
												class="control-label"> 
												<c:if test="${order.state ==1}">未抢单</c:if> 
												<c:if test="${order.state ==3}">已抢单</c:if> 
												<c:if test="${order.state ==4}">处理中</c:if> 
												<c:if test="${order.state ==5}">待评价</c:if> 
												<c:if test="${order.state ==6}">已完成</c:if> 
												<c:if test="${order.state ==7}">已取消</c:if>
											</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">下单人姓名：</label> <label
												class="control-label">${order.createrName}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">下单人电话：</label> <label
												class="control-label">${order.createrPhone}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">下单人公司：</label> <label
												class="control-label">${order.createrCompany}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">下单人地址：</label> <label
												class="control-label">${order.createrAddress}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">维修内容：</label> <label
												class="control-label">${order.repairContent}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">维修地址：</label> <label
												class="control-label">${order.repairAddress}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">维修品牌：</label> <label
												class="control-label">${order.repairBrands}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">品牌产地：</label> <label
												class="control-label">${order.repairOrigin}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">品牌型号：</label> <label
												class="control-label">${order.repairNumber}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">品牌系统：</label> <label
												class="control-label">${order.repairSystem}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">故障描述：</label> <label
												class="control-label">${order.breakDescription}</label>
										</div>

										<div class="form-group">
											<label class="col-sm-4 control-label">图片：</label>
											<c:forEach items="${imges}" var="item">
												<img src="${item}" width="90px" height="70px">
											</c:forEach>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">备注：</label> <label
												class="control-label">${order.remark}</label>
										</div>

										<div class="form-group">
											<label class="col-sm-4 control-label">订单类型：</label> <label
												class="control-label"> <c:if
													test="${order.type ==1}">抢修单</c:if> <c:if
													test="${order.type ==2}">预约单</c:if>
											</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">订单价格：</label> <label
												class="control-label">${order.price}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">附加价格：</label> <label
												class="control-label">${order.additionalPrice}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">下单时间：</label> <label
												class="control-label">${orderTime}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">预约时间：</label> <label
												class="control-label">${reserveTime}</label>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label">结束时间：</label> <label
												class="control-label">${finishTime}</label>
										</div>
									
										<div class="form-group">
											<label class="col-sm-4 control-label">评价时间：</label> <label
												class="control-label">${commentTime}</label>
										</div>
									</fieldset>
									<div class="form-actions center">
										<button type="button" class="btn btn-sm btn-grey"
											id="go_back_btn" onclick="returnList()">
											返回 <i class="icon-reply icon-on-right bigger-110"></i>
										</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	$(function() {
		$(".orderMenSta").addClass("active open");
		$(".orderSta").addClass("active");
	});

	function returnList() {
		window.location = "${pageContext.request.contextPath}/morder/list";
	}
</script>
</html>
